package com.hyt.it.ogt.pj.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.pj.model.entity.Config;

/**
 * <p>
 * 评卷参数表 Mapper 接口
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
public interface ConfigMapper extends BaseMapper<Config> {

    List<Config> findProjectConfigs(@Param("projectId") String projectId);

    void deleteByProjectId(@Param("projectId") String projectId);

    Config selectByLabel(@Param("projectId") String projectId, @Param("label") String label);
}
